<template>
    <!-- 搜索筛选外组件 -->
    <div v-show="isShow" class="screenHome_bg" @click.stop="emit('close')">
        <div class="screenHome">
            <div class="screenHome_slot">
                <slot></slot>
            </div>
            <div class="buttons">
                <div class="reset" @click.stop="emit('onReset')">重置</div>
                <div class="submit" @click.stop="emit('onSubmit')">完成</div>
            </div>
        </div>
    </div>
</template>
<script setup lang="ts">
import { defineProps, defineEmits } from 'vue'
defineProps({ isShow: { default: false } })
const emit = defineEmits(['onReset', 'onSubmit', 'close'])
</script>
<style lang="less" scoped>
@import url(../style//index.less);
</style>